<?

session_start();

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
require("../../helpers/html.php");
require("../models/fetchers.php");

$COracle = new oracleDb;
$COracle->init($_SESSION["ORCL"],
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);

$srcDbGroup = "MST_MODEL_GRP";
$srcDbModel = "MST_MODEL";

if($COracle->connect()){

  fetchLstModel($COracle,
                $_POST["srcGroup"],
                $srcDbGroup,
                $srcDbModel,
                $lstModel);

  initDropDownContent($lstModel,
      		            $_POST["srcSelection"],
      		            $optLstModel);

  echo  $optLstModel;

  $COracle->dc();
}else{

  return "****";
}

?>